<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width">
    <title>京东快报</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        body {
            margin: 30px;
        }

        a {
            text-decoration: none;
        }

        .box {
            border: 1px #e4e4e4 solid;
            width: 230px;
            box-sizing: border-box;
            margin: 10px auto;
        }

        h2 {
            padding-left: 10px;
            line-height: 43px;
            height: 43px;
            border-bottom: 1px #E8E8E7 dashed;
            font-size: 16px;
            color: #666;
            font-weight: normal;
            background: linear-gradient(to bottom,#CCCCFF,#FFFFFF);
        }

        ul {
            list-style: none;
            padding-top: 5px;
            padding-bottom: 5px;
        }

        ul li {
            line-height: 26px;
            padding-left: 10px;
            padding-right: 10px;
        }

        li a {
            font-size: 12px;
            color: #666;
            text-decoration: none;
        }

        li a:hover {
            color: #b20000;
        }

        li a span {
            font-weight: bold;
        }
        .nav{
            width: 500px;
            margin: 0 auto;
        }
    </style>
</head>
<body>
<div class="nav">
    <a href="index.html">作业一</a>
    <a href="demo.html">作业二</a>
    <a href="temp.html">作业三</a>
    <a href="test.html">作业四</a>
    <a href="iphoe.html">作业五</a>
    <div class="box">
        <h2>京东快报</h2>
        <ul>
            <li><a href=""><span>[特惠]</span>海飞丝去屑又去油 超清爽</a></li>
            <li><a href=""><span>[公告]</span>京东公益支持鲁甸新动作</a></li>
            <li><a href=""><span>[特惠]</span>4688元抢iPhone 6</a></li>
            <li><a href=""><span>[公告]</span>小米电视携豪礼高调入驻京东</a></li>
        </ul>
    </div>
</div>

</body>
</html>
